package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_pms_funs database table.
 * 
 */
@Entity
@Table(name="per_pms_funs")
@NamedQuery(name="PerPmsFuns.findAll", query="SELECT p FROM PerPmsFuns p")
public class PerPmsFuns implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int funsid;

	private String funsgad;

	private String funsname;

	private String funsurl;

	//bi-directional many-to-one association to PerPmsFun
	@ManyToOne
	@JoinColumn(name="FUNID")
	private PerPmsFun perPmsFun;

	public PerPmsFuns() {
	}

	public int getFunsid() {
		return this.funsid;
	}

	public void setFunsid(int funsid) {
		this.funsid = funsid;
	}

	public String getFunsgad() {
		return this.funsgad;
	}

	public void setFunsgad(String funsgad) {
		this.funsgad = funsgad;
	}

	public String getFunsname() {
		return this.funsname;
	}

	public void setFunsname(String funsname) {
		this.funsname = funsname;
	}

	public String getFunsurl() {
		return this.funsurl;
	}

	public void setFunsurl(String funsurl) {
		this.funsurl = funsurl;
	}

	public PerPmsFun getPerPmsFun() {
		return this.perPmsFun;
	}

	public void setPerPmsFun(PerPmsFun perPmsFun) {
		this.perPmsFun = perPmsFun;
	}

}